package com.healthcloud.service.accompany;

import com.healthcloud.entity.accompany.AccompanyBlEntity;
import com.healthcloud.entity.accompany.AccompanyBlVo;
import com.healthcloud.utils.PageParam;

import java.util.List;

/**
 * @author zhangjie
 */
public interface AccompanyBlService {
	
	AccompanyBlVo queryObjectVo(Long id);
	
    List<AccompanyBlVo> queryListVo(AccompanyBlVo entity, PageParam pageParam);
	
	int queryTotalVo(AccompanyBlVo bean);
	
	void save(AccompanyBlEntity accompanyBl);
	
	void update(AccompanyBlEntity accompanyBl);
	
	void delete(Integer id);
	
	void deleteBatch(Long[] ids);

	void saveOrUpdate(AccompanyBlEntity entity);

    List queryRemindList(AccompanyBlVo entity, PageParam pageParam);

	Integer queryRemindTotal(AccompanyBlVo entity);

	void deleteByIds(List<Long> accompanyBLIds);

	/**
	 * 根据身份证号，查询上一次有药物骨松随访的 id
	 * @param idCard
	 * @return
	 */
    Integer getLastBlIdWithMedical(String idCard);

}
